class Factory{
   float above;
   float area;
   float computerArea(){
     area = (above+bottom)*height/2.0f;
     return area;
     }
   float bottom;
   void setHeight(float h){
   height = h;
   }
   float height;
}
